package com.sly.fuxi.mysql.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author SLY
 * @date 2025/2/23
 */
@Slf4j
@Service
public class DemoService {

    @Transactional(rollbackFor = Exception.class)
    public Object demo01(){
        return null;
    }
}
